package com.sptpc.learnspring.service;

import com.github.pagehelper.PageInfo;
import com.sptpc.learnspring.model.Drink;
import com.sptpc.learnspring.vo.DrinkVO;

import java.util.List;

public interface IDrinkService {
    PageInfo<Drink> getAllDrinks(Integer page, Integer size);
    Drink addNewDrink(Drink drink);
    DrinkVO getDrinkById(Long id);
    List<Drink> searchDrinksByKey(String key);
    Drink updateDrink(Drink updateDrink);
}
